home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1998 June
/
Software of the Month Club 1998 June.iso
/
pc
/
dos
/
edu
/
spanhdos
/
install.fil
< prev
next >
Wrap
Text File
|
1998-04-15
|
5KB
|
184 lines
'' Install Script for SPANISH HELPER Julio del 96 ***SWV FIL***
' restore the following:
' space command
' pauses in startup
BACKGROUND 63
LANGUAGE ENGLISH
BORDER 1
TELESCOPE OFF
WINOPEN 18 2 95
"Pik A Program "
""
"presents"
""
"SPANISH HELPER"
""
""
WINUPDATE +11 +5 222
"SPANISH HELPER "
PAUSE 100
TELESCOPE ON
SHADOW ON
:which_drive
SPACE 600 ' Checking for 2.4 meg required.
DRIVE C 0 12 31 15 32 14 79
PATH \SPANISH 0 12 31 15 32 14 79
exist SPAN.1
JUMP.YES DOES_EXIST1
JUMP.NO NOT_EXIST1
:NOT_EXIST1
WINOPEN 0 50 79
""
" The file Span.1 is not on the "
" current installation disk"
""
" Do you wish to continue with the "
" current installation (Y/N)? "
ASK 49 31
pause 150
JUMP.NO STOP_INSTALL
WINCLOSE
DISK 0 Span.1 0 0 31
:DOES_EXIST1
unpack Span.1 12 10 31 32 14 79
JUMP.FAIL INSTALL_FAILURE
WINOPEN 0 12 79
""
"Spanish Helper has now been installed on your hard drive"
""
" To run the program..."
"Change to the drive and directory you have chosen in this setup (usually"
"C:\SPANISH)."
" Type "GO" and then hit the enter or Return key "
" We hope you enjoy learning with Spanish Helper so much that you'll"
" send in the registration form to get the rest of the lessons!"
""
" Press the [Enter] key to continue."
""
""
WINUPDATE +30 +3 30 ' display text in yellow
"~1~2"
WINUPDATE +30 +12 27 ' cyan
"THANK YOU"
""
WAIT +36 +12
WINCLOSE
'-------------------------
WINOPEN 0 12 31
"Would you like to SEE the USA order form for Spanish Helper?"
""
WINUPDATE +31 +2 30 ' yellow text
"(Y or N)"
ASK +39 +2
WINCLOSE ' close the above window
JUMP.NO PRINT_USA.TXT
VIEW ~1~2\order.txt 79 31
:PRINT_USA.TXT
WINOPEN 0 12 31
"Would you like to PRINT the USA order form for Spanish Helper?"
""
WINUPDATE +31 +2 30 ' yellow text
"(Y or N)"
ASK +39 +2
WINCLOSE ' close the above window
JUMP.NO EXIT
WINOPEN 0 0 31
""
" Printing the order form ... "
""
PRINT ~1~2\order.txt
WINCLOSE ' close the above window
JUMP.FAIL PRINTER_ERROR ' jump on fatal error
JUMP EXIT ' print successful, skip next
'-------------------------------------------------
:PRINTER_ERROR ' label for error condition
WINOPEN 0 12 79 ' open the following window
"Your printer is not responding. Possible problems:"
" -- Printer is not turned on"
" -- Printer is out of paper"
" -- Printer is not attached to LPT1 (parallel port 1)"
""
"Do you want to try to print again (Y or N)?"
ASK 57 18 ' prompt for Y or N key (fixed cursor position)
WINCLOSE ' close this window
JUMP.YES PRINT_INSTALL.TXT ' y key pressed, print
:EXIT
WINOPEN 0 12 31 ' window is centered on screen
" Thank you for using "
""
" Spanish Helper"
""
"You have a fully working shareware evaluation copy. We hope"
" that you will be fluent in Spanish in no time!"
""
" Please register your shareware!"
""
WINUPDATE +17 +8 30
"Please register your shareware!"
WINUPDATE +14 +10 30 ' write on top of bottom border
"┤ Press the [Enter] key to continue ├" ' (good when space is tight)
WINUPDATE +24 +11 30
"[Enter]"
WAIT +47 +11
WINCLOSE
shell
"~1"
"cd ~2"
' display our bbs phone number
BORDER 2
WINOPEN 0 12 47
" If you're not sure you have the latest shareware copy of"
"Spanish Helper, you can call the following addresses:"
"
" INTERNET: www.pik.com"
" INTERNET: http://ourworld.compuserve.com/homepages/gbb"
" Compuserve: GO PIKAPRO"
""
""
""
" Press the [Enter] key to run Spanish Helper."
WAIT +36 +10 ' wait for the enter key
RUN ~1\~2\go
END ' exit the system normally
'-------------------------------------------
:INSTALL_FAILURE
WINOPEN 0 12 79
"THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
""
"Possible reasons:"
" -- The floppy disk was removed prior to completion."
" -- The floppy disk was damaged during shipping."
" -- Your disk drive is out of alignment."
" -- The files were corrupted some other way."
""
WINCLOSE
WINOPEN 0 12 31
""
" Press [Enter] to Quit."
WAIT 47 15
:STOP_INSTALL
winclose
END